package com.macro.mall.portal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 用户领取消费卷记录
 * </p>
 *
 * @author  
 * @since 2021-09-11
 */
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="UserRoll对象", description="用户领取消费卷记录")
public class UserRoll implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "业务员")
    private String openId;

    @ApiModelProperty(value = "业务员名称")
    private String salesman;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "贷款金额")
    private BigDecimal loan;

    @ApiModelProperty(value = "状态：1已经领取  2 已经使用")
    private Integer loanStatus;

    @ApiModelProperty(value = "工作状态 1 跟进   2 完成  3 放弃")
    private Integer speedStatus;

    @ApiModelProperty(value = "创建时间")
    private String createTime;


}
